import request from '@/utils/request'

// 查询商品描述列表
export function listStoreProductDescription(query) {
  return request({
    url: '/system/storeProductDescription/list',
    method: 'get',
    params: query
  })
}

// 查询商品描述详细
export function getStoreProductDescription(id) {
  return request({
    url: '/system/storeProductDescription/' + id,
    method: 'get'
  })
}

// 新增商品描述
export function addStoreProductDescription(data) {
  return request({
    url: '/system/storeProductDescription',
    method: 'post',
    data: data
  })
}

// 修改商品描述
export function updateStoreProductDescription(data) {
  return request({
    url: '/system/storeProductDescription',
    method: 'put',
    data: data
  })
}

// 删除商品描述
export function delStoreProductDescription(id) {
  return request({
    url: '/system/storeProductDescription/' + id,
    method: 'delete'
  })
}
